package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Chatroom;
import cn.wolfcode.trip.base.domain.UserChatRoom;

import java.util.List;

/**
 * IUserChatRoomService class
 *
 * @author lishuanwang
 * @date 2019/6/3
 */
public interface IUserChatRoomService {
    /**
     * 根据chatroom查询用户的id
     */
    List<Long> listUserIdByChatRoomId(Long groupId);

    /**
     * 根据用户的id查询chatroom
     */
    List<Chatroom> listChatRoomsByUserId(Long userId);




}
